package chapter_2;

public class Test10 {

    public static void main(String[] args) {
        double peakHeight = 8848860;
        double paperHeight = 0.1;
        int count = 0;
        while(true){
            if(paperHeight < peakHeight){
                paperHeight *= 2;
                count ++;
            }else{
                System.out.println(count);
                break;
            }
        }
    }
}
